package org.shan.lf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by amanda.shan on 2019-07-27.
 */
@Data
@ApiModel("用户账户")
@TableName("t_user_admin")
public class UserAdminInfo {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "账户ID")
    private Integer accountId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "职位")
    private String job;

    @ApiModelProperty(value = "以后扩展角色，现在1表示可查看，2表示可编辑")
    private Integer role;

    @ApiModelProperty(value = "头像")
    private String pic;

    @ApiModelProperty(value = "区域ID")
    private Integer areaId;
}
